const Koa = require('koa');
const serve = require('koa-static');
const path = require('path');

const app = new Koa();

app.use(serve(path.join(__dirname, 'dist')));

const port = process.env.PORT || 3333;
app.listen(port, () => {
    console.log(`Server is listening on http://localhost:${port}`);
});
